package com.spread.beans;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class Product {
    private Integer productId;

    private String productName;

    private String productBarcode;

    private String productSupId;

    private Date productCreateTime;

    private Date productModifyTime;

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getProductBarcode() {
        return productBarcode;
    }

    public void setProductBarcode(String productBarcode) {
        this.productBarcode = productBarcode == null ? null : productBarcode.trim();
    }

    public String getProductSupId() {
        return productSupId;
    }

    public void setProductSupId(String productSupId) {
        this.productSupId = productSupId == null ? null : productSupId.trim();
    }

    public Date getProductCreateTime() {
        return productCreateTime;
    }

    public void setProductCreateTime(Date productCreateTime) {
        this.productCreateTime = productCreateTime;
    }

    public Date getProductModifyTime() {
        return productModifyTime;
    }

    public void setProductModifyTime(Date productModifyTime) {
        this.productModifyTime = productModifyTime;
    }
}